package com.tbm.base.service;

import com.tbm.common.util.PageData;
import com.tbm.entity.JsonEntity;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2017/9/14.
 */
public interface CommonService {

    List<PageData> findAll(Example ex, Pageable pageable,Class clazz);
    int count(String repositoryClazz);
}
